const { smart } = require('webpack-merge');
const webpack = require('webpack');
const base = require('./webpack.config');

const prod = {
  mode: 'production',
  plugins: [
    new webpack.DefinePlugin({
      'process.env.NODE_ENV': JSON.stringify('production'),
    }),
  ],
};
module.exports = smart(base, prod);
